package com.original_02;

import com.original_01.Duck;

/**
 * @Author
 * @Create 2021/2/2
 */
public class RedheadDuck extends Duck implements Flyable,Quackable {

    @Override
    public void dispaly() {
        System.out.println("外观是红色！");
    }

    @Override
    public void fly() {
        System.out.println("我会飞！");
    }

    @Override
    public void quack() {
        System.out.println("呱呱呱！");
    }
}
